package com.dd.ent.car.ui.detail;

import android.view.View;

import com.dd.ent.car.ui.home.templet.Base.TempletBaseListFragment;

/**
 * Created by dengqu on 2016/8/29.
 */
public abstract class DetailFragment<T> extends TempletBaseListFragment<T> {
    @Override
    protected void initWidget(View root) {
        super.initWidget(root);
        if (getHeaderLayout() != null) {
            mListView.addHeaderView(getHeaderLayout());
        }
        mRefreshLayout.setEnabled(false);
    }

    protected abstract View getHeaderLayout();

}
